|
Foxit PDF SDK
|
继承自 FoxitPDFSDKPython2._object .
Public 成员函数 | |
| def | GetNewPageBasicInfo (page_index, rest_table_height, table_width) |
| 获取要生成到新页面的新页面基本信息的回调函数。 更多... | |
| def | GetTableTopMarginToPage (page_index) |
| 获取要生成到新页面的表格的上边距的回调函数。 更多... | |
| def | Release () |
| 用于释放当前回调对象本身的回调函数。 更多... | |
此类表示用于生成表格的回调对象。 此类中的所有纯虚函数都用作回调函数,应由用户实现。
| def FoxitPDFSDKPython2.TableGeneratorCallback.GetNewPageBasicInfo | ( | page_index, | |
| rest_table_height, | |||
| table_width | |||
| ) |
获取要生成到新页面的新页面基本信息的回调函数。
此回调函数仅用于 FoxitPDFSDKPython2.TableGenerator.InsertTablePagesToDocument 。 如果页面宽度或页面高度小于或等于零,将触发此回调。 如果单元格内容是文本,用户必须确保 FoxitPDFSDKPython2.RichTextStyle 中的文本大小大于零。
| [in] | page_index | 页面索引。从 0 开始。 |
| [in] | rest_table_height | 剩余表格高度(单位为 1/72 英寸)。 |
| [in] | table_width | 表格宽度(单位为 1/72 英寸)。 |
| def FoxitPDFSDKPython2.TableGeneratorCallback.GetTableTopMarginToPage | ( | page_index | ) |
获取要生成到新页面的表格的上边距的回调函数。
| [in] | page_index | 页面索引。从 0 开始。 |
| def FoxitPDFSDKPython2.TableGeneratorCallback.Release | ( | ) |
用于释放当前回调对象本身的回调函数。